﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="select-page-template.aspx.cs" Inherits="SmartSpace.WebApp._console.common.select_page_template" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <%="<link href='" + Page.ResolveClientUrl("~/_console/resources/css/main.css")+ "' rel=\"stylesheet\" />" %>
    <%="<link href='" + Page.ResolveClientUrl("~/_console/resources/css/form.css")+ "' rel=\"stylesheet\" />" %>
    <script src='<%=Page.ResolveClientUrl("~/_res/_js/jquery-1.8.0.min.js") %>' type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:LinkButton ID="_ctlBtnAssign" runat="server" Text="分配" OnClick="_ctlBtnAssign_Click" />
            <div style="float: left;">
                <asp:TextBox ID="_ctlEditCode" runat="server" Width="400"></asp:TextBox>
            </div>
            <asp:LinkButton ID="_ctlBtnSearch" runat="server" Text="查询" OnClick="_ctlBtnSearch_Click" />
        </div>
        <div class="form">
            <table class="list">
                <asp:Repeater ID="_ctlList" runat="server">
                    <HeaderTemplate>
                        <thead>
                            <tr>
                                <th>-</th>
                                <th>编号</th>
                                <th>名称</th>
                            </tr>
                        </thead>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr>
                            <td>
                                <asp:CheckBox ID="_ctlCheck" runat="server" />
                                <asp:HiddenField ID="_ctlTag" runat="server" Value='<%# Eval("Id") %>' />
                            </td>
                            <td><%# Eval("Code") %></td>
                            <td><%# Eval("Caption") %></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
        </div>
    </form>
</body>
</html>
